/**
 * @param {string} s
 * @param {character} letter
 * @return {number}
 */
 var percentageLetter = function(s, letter) {
  let cnt = 0
  for(let ch of s) {
    if(ch === letter) cnt++
  }
  return Math.floor((cnt/s.length) * 100)
};